package com.wn.service.impl;

import com.wn.bean.House;
import com.wn.mapper.HouseMapper;
import com.wn.service.HouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yellow Docter
 * @date 2022 -07-14
 * @desc
 */
@Service
public class HouseServiceImpl implements HouseService {

    @Autowired
    private HouseMapper houseMapper;

    @Override
    public List<House> findList() {
        return houseMapper.findAll();
    }
}
